package cn.flymod.DHG_mcpePlusEX;

import android.app.*;
import android.content.*;
import android.net.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;

public class a_minepix extends Activity
{
    /** Called when the activity is first created. */
    @Override
	TextView activityminepixTextView2;
	Button activityminepixButton1;

    public void onCreate(Bundle savedInstanceState)
	{
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_minepix);
		
		getActionBar().setDisplayHomeAsUpEnabled(true);
		
		activityminepixTextView2=(TextView)findViewById(R.id.activityminepixTextView2);
		activityminepixButton1=(Button)findViewById(R.id.activityminepixButton1);

		activityminepixTextView2.setText("MinePIX能够打开一张本地图片,或通过相机拍照,然后将图片转换为由MC方块组成的像素图,你可以把这张图片保存到SD卡根目录,然后在游戏中对着图片摆出来!\n\n★软件设置中可以选择使用哪些方块!\n★这是已付费版的,我自己买的,没有广告,请放心下载!");
		activityminepixButton1.setText("已付费版");

        activityminepixButton1.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Uri uri= Uri.parse("http://lx.cdn.baidupcs.com/file/587f997913d92cb00955533ed6659ebf?bkt=p-7af992cc39b3c88c734664a8591c5a0c&xcode=a98a09db7240b06199566ca6d2aba2125db080b3b6a41a252d4203df8af8bde8&fid=2869900060-250528-4127781185&time=1420283211&sign=FDTAXERLBH-DCb740ccc5511e5e8fedcff06b081203-8hd1977Cg28TnGqtMUQfvOeNfrA%3D&to=sc&fm=Qin,B,T,t&sta_dx=0&sta_cs=134&sta_ft=apk&sta_ct=7&newver=1&newfm=1&flow_ver=3&sl=81723466&expires=1420283811&rt=sh&r=479753280&mlogid=2649121991&sh=1&vuk=3104890711&vbdid=2086254867&fin=MinePix%E5%AE%89%E5%8D%93%E7%89%88.apk");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
    }
}
